﻿using System;
using System.Windows.Forms;

namespace HZWA
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            LoginForm loginForm = new LoginForm();
            loginForm.ShowDialog();
            if ((loginForm.IsLogin)||(loginForm.DialogResult == DialogResult.OK))
            {
                Application.Run(new MainForm());
            }           
        }
    }
}
